<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: elftosb::DataSourceImager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classelftosb_1_1_data_source_imager.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classelftosb_1_1_data_source_imager-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">elftosb::DataSourceImager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Converts a <a class="el" href="classelftosb_1_1_data_source.html" title="Abstract base class for data sources. ">DataSource</a> into a single binary buffer.  
 <a href="classelftosb_1_1_data_source_imager.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="apps_2elftosb_2common_2_data_source_imager_8h_source.html">DataSourceImager.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for elftosb::DataSourceImager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classelftosb_1_1_data_source_imager__inherit__graph.svg" width="186" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for elftosb::DataSourceImager:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classelftosb_1_1_data_source_imager__coll__graph.svg" width="186" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a22864101efde500f0ca2731c99978342"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22864101efde500f0ca2731c99978342"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_data_source_imager.html#a22864101efde500f0ca2731c99978342">DataSourceImager</a> ()</td></tr>
<tr class="memdesc:a22864101efde500f0ca2731c99978342"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a22864101efde500f0ca2731c99978342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca533de1b0ff4aee5b711ba2c848a1ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca533de1b0ff4aee5b711ba2c848a1ae"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reset</b> ()</td></tr>
<tr class="separator:aca533de1b0ff4aee5b711ba2c848a1ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Setup</div></td></tr>
<tr class="memitem:a37ca3ca937fc7349d54c0a905d4b04a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37ca3ca937fc7349d54c0a905d4b04a0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setBaseAddress</b> (uint32_t address)</td></tr>
<tr class="separator:a37ca3ca937fc7349d54c0a905d4b04a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0ad6d015f97eab84020aa0777f4fb41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0ad6d015f97eab84020aa0777f4fb41"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFillPattern</b> (uint8_t pattern)</td></tr>
<tr class="separator:af0ad6d015f97eab84020aa0777f4fb41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:ac7a512e99c8d5ed43d1ebda30ce6ebc5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7a512e99c8d5ed43d1ebda30ce6ebc5"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>getBaseAddress</b> ()</td></tr>
<tr class="separator:ac7a512e99c8d5ed43d1ebda30ce6ebc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Operations</div></td></tr>
<tr class="memitem:aa24cbb379f022d3444b451d583f7c8c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_data_source_imager.html#aa24cbb379f022d3444b451d583f7c8c6">addDataSource</a> (<a class="el" href="classelftosb_1_1_data_source.html">DataSource</a> *source)</td></tr>
<tr class="memdesc:aa24cbb379f022d3444b451d583f7c8c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds all of the segments of which <em>dataSource</em> is composed.  <a href="#aa24cbb379f022d3444b451d583f7c8c6">More...</a><br /></td></tr>
<tr class="separator:aa24cbb379f022d3444b451d583f7c8c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebf9794ddcc1c5fef5b8814ff4e12eaf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelftosb_1_1_data_source_imager.html#aebf9794ddcc1c5fef5b8814ff4e12eaf">addDataSegment</a> (<a class="el" href="classelftosb_1_1_data_source_1_1_segment.html">DataSource::Segment</a> *segment)</td></tr>
<tr class="memdesc:aebf9794ddcc1c5fef5b8814ff4e12eaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the data from one data segment.  <a href="#aebf9794ddcc1c5fef5b8814ff4e12eaf">More...</a><br /></td></tr>
<tr class="separator:aebf9794ddcc1c5fef5b8814ff4e12eaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_blob"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_blob')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_blob.html">Blob</a></td></tr>
<tr class="memitem:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a0d29e3183e1458d1b9e6a5ca584826"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a6a0d29e3183e1458d1b9e6a5ca584826">Blob</a> ()</td></tr>
<tr class="memdesc:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a5485260a332cbe47d5def75feca9de7e">Blob</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a5485260a332cbe47d5def75feca9de7e">More...</a><br /></td></tr>
<tr class="separator:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a1afc0a6ef01f154558e3279e0326db25">Blob</a> (const <a class="el" href="class_blob.html">Blob</a> &amp;other)</td></tr>
<tr class="memdesc:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a1afc0a6ef01f154558e3279e0326db25">More...</a><br /></td></tr>
<tr class="separator:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a8d34c9112cb907fdffcb5dbd2dd244 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a8a8d34c9112cb907fdffcb5dbd2dd244">~Blob</a> ()</td></tr>
<tr class="memdesc:a8a8d34c9112cb907fdffcb5dbd2dd244 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a8a8d34c9112cb907fdffcb5dbd2dd244">More...</a><br /></td></tr>
<tr class="separator:a8a8d34c9112cb907fdffcb5dbd2dd244 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a0d29e3183e1458d1b9e6a5ca584826"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a6a0d29e3183e1458d1b9e6a5ca584826">Blob</a> ()</td></tr>
<tr class="memdesc:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a6a0d29e3183e1458d1b9e6a5ca584826 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5485260a332cbe47d5def75feca9de7e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a5485260a332cbe47d5def75feca9de7e">Blob</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a5485260a332cbe47d5def75feca9de7e inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1afc0a6ef01f154558e3279e0326db25"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a1afc0a6ef01f154558e3279e0326db25">Blob</a> (const <a class="el" href="class_blob.html">Blob</a> &amp;other)</td></tr>
<tr class="memdesc:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
<tr class="separator:a1afc0a6ef01f154558e3279e0326db25 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a50b55fab7b1fb6d07d9f237b3d01f inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8a50b55fab7b1fb6d07d9f237b3d01f"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#ab8a50b55fab7b1fb6d07d9f237b3d01f">~Blob</a> ()</td></tr>
<tr class="memdesc:ab8a50b55fab7b1fb6d07d9f237b3d01f inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:ab8a50b55fab7b1fb6d07d9f237b3d01f inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#afd2e4f643b6fe4bd7b3be74d8654b3bc">setData</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the blob's data.  <a href="#afd2e4f643b6fe4bd7b3be74d8654b3bc">More...</a><br /></td></tr>
<tr class="separator:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#aa3e50f21472426bda6dabad210252535">setLength</a> (unsigned length)</td></tr>
<tr class="memdesc:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the size of the blob's data.  <a href="#aa3e50f21472426bda6dabad210252535">More...</a><br /></td></tr>
<tr class="separator:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f39b85ab0c47bb1e3c38eb21ff95017"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a5f39b85ab0c47bb1e3c38eb21ff95017">append</a> (const uint8_t *newData, unsigned newDataLength)</td></tr>
<tr class="memdesc:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds data to the end of the blob. <br /></td></tr>
<tr class="separator:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a225d68a04864a856a1165e076df38492"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a225d68a04864a856a1165e076df38492">clear</a> ()</td></tr>
<tr class="memdesc:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disposes of the data. <br /></td></tr>
<tr class="separator:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe054afc580c4b7c3fef1576f0650dc3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#abe054afc580c4b7c3fef1576f0650dc3">relinquish</a> ()</td></tr>
<tr class="memdesc:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tell the blob that it no longer owns its data. <br /></td></tr>
<tr class="separator:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd2e4f643b6fe4bd7b3be74d8654b3bc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#afd2e4f643b6fe4bd7b3be74d8654b3bc">setData</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the blob's data. <br /></td></tr>
<tr class="separator:afd2e4f643b6fe4bd7b3be74d8654b3bc inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3e50f21472426bda6dabad210252535"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#aa3e50f21472426bda6dabad210252535">setLength</a> (unsigned length)</td></tr>
<tr class="memdesc:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the size of the blob's data. <br /></td></tr>
<tr class="separator:aa3e50f21472426bda6dabad210252535 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f39b85ab0c47bb1e3c38eb21ff95017"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a5f39b85ab0c47bb1e3c38eb21ff95017">append</a> (const uint8_t *newData, unsigned newDataLength)</td></tr>
<tr class="memdesc:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds data to the end of the blob. <br /></td></tr>
<tr class="separator:a5f39b85ab0c47bb1e3c38eb21ff95017 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a225d68a04864a856a1165e076df38492"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a225d68a04864a856a1165e076df38492">clear</a> ()</td></tr>
<tr class="memdesc:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disposes of the data. <br /></td></tr>
<tr class="separator:a225d68a04864a856a1165e076df38492 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe054afc580c4b7c3fef1576f0650dc3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#abe054afc580c4b7c3fef1576f0650dc3">relinquish</a> ()</td></tr>
<tr class="memdesc:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tell the blob that it no longer owns its data. <br /></td></tr>
<tr class="separator:abe054afc580c4b7c3fef1576f0650dc3 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5e3ba20cba2ab434d554c15ac6c51f inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b5e3ba20cba2ab434d554c15ac6c51f"></a>
uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> ()</td></tr>
<tr class="separator:a2b5e3ba20cba2ab434d554c15ac6c51f inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad20dbbf72c9fa753f3f7bf0cd957e9b2 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad20dbbf72c9fa753f3f7bf0cd957e9b2"></a>
const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> () const </td></tr>
<tr class="separator:ad20dbbf72c9fa753f3f7bf0cd957e9b2 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7c6e7416b7b1acf7adf4c51203075f5 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7c6e7416b7b1acf7adf4c51203075f5"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>getLength</b> () const </td></tr>
<tr class="separator:ae7c6e7416b7b1acf7adf4c51203075f5 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b5e3ba20cba2ab434d554c15ac6c51f inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b5e3ba20cba2ab434d554c15ac6c51f"></a>
uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> ()</td></tr>
<tr class="separator:a2b5e3ba20cba2ab434d554c15ac6c51f inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad20dbbf72c9fa753f3f7bf0cd957e9b2 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad20dbbf72c9fa753f3f7bf0cd957e9b2"></a>
const uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> () const </td></tr>
<tr class="separator:ad20dbbf72c9fa753f3f7bf0cd957e9b2 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7c6e7416b7b1acf7adf4c51203075f5 inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae7c6e7416b7b1acf7adf4c51203075f5"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>getLength</b> () const </td></tr>
<tr class="separator:ae7c6e7416b7b1acf7adf4c51203075f5 inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3faeba20e459eeb31fa430e26235df inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff3faeba20e459eeb31fa430e26235df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator uint8_t *</b> ()</td></tr>
<tr class="separator:aff3faeba20e459eeb31fa430e26235df inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af838a418ed8a2e0605961db6f5576a0d inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af838a418ed8a2e0605961db6f5576a0d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator const uint8_t *</b> () const </td></tr>
<tr class="separator:af838a418ed8a2e0605961db6f5576a0d inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3faeba20e459eeb31fa430e26235df inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff3faeba20e459eeb31fa430e26235df"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator uint8_t *</b> ()</td></tr>
<tr class="separator:aff3faeba20e459eeb31fa430e26235df inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af838a418ed8a2e0605961db6f5576a0d inherit pub_methods_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af838a418ed8a2e0605961db6f5576a0d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>operator const uint8_t *</b> () const </td></tr>
<tr class="separator:af838a418ed8a2e0605961db6f5576a0d inherit pub_methods_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a3b3d40dbbe705c1e376bee7dc7ccb561"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b3d40dbbe705c1e376bee7dc7ccb561"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_fill</b></td></tr>
<tr class="separator:a3b3d40dbbe705c1e376bee7dc7ccb561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2826525f82d13863866ef1f1dec18b77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2826525f82d13863866ef1f1dec18b77"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>m_baseAddress</b></td></tr>
<tr class="separator:a2826525f82d13863866ef1f1dec18b77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e2151af57342b360e41dfbd7aacea0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e2151af57342b360e41dfbd7aacea0e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_isBaseAddressSet</b></td></tr>
<tr class="separator:a2e2151af57342b360e41dfbd7aacea0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_blob"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_blob')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_blob.html">Blob</a></td></tr>
<tr class="memitem:a852e55f502012b19cedde6589387deba inherit pro_attribs_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a852e55f502012b19cedde6589387deba"></a>
uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a852e55f502012b19cedde6589387deba">m_data</a></td></tr>
<tr class="memdesc:a852e55f502012b19cedde6589387deba inherit pro_attribs_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">The binary data held by this object. <br /></td></tr>
<tr class="separator:a852e55f502012b19cedde6589387deba inherit pro_attribs_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8915b9109057317db8066dbd2a005a71 inherit pro_attribs_class_blob"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8915b9109057317db8066dbd2a005a71"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_blob.html#a8915b9109057317db8066dbd2a005a71">m_length</a></td></tr>
<tr class="memdesc:a8915b9109057317db8066dbd2a005a71 inherit pro_attribs_class_blob"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes pointed to by <a class="el" href="class_blob.html#a852e55f502012b19cedde6589387deba" title="The binary data held by this object. ">m_data</a>. <br /></td></tr>
<tr class="separator:a8915b9109057317db8066dbd2a005a71 inherit pro_attribs_class_blob"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Converts a <a class="el" href="classelftosb_1_1_data_source.html" title="Abstract base class for data sources. ">DataSource</a> into a single binary buffer. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aebf9794ddcc1c5fef5b8814ff4e12eaf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataSourceImager::addDataSegment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classelftosb_1_1_data_source_1_1_segment.html">DataSource::Segment</a> *&#160;</td>
          <td class="paramname"><em>segment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the data from one data segment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">segment</td><td>The segment to add. May be any type of data segment, including a pattern segment. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa24cbb379f022d3444b451d583f7c8c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DataSourceImager::addDataSource </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classelftosb_1_1_data_source.html">DataSource</a> *&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds all of the segments of which <em>dataSource</em> is composed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataSource</td><td>Pointer to an instance of a concrete data source subclass. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="apps_2elftosb_2common_2_data_source_imager_8h_source.html">apps/elftosb/common/DataSourceImager.h</a></li>
<li>apps/elftosb/common/DataSourceImager.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>elftosb</b></li><li class="navelem"><a class="el" href="classelftosb_1_1_data_source_imager.html">DataSourceImager</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
